﻿using D.WPF.MVVM.EventUtil;

namespace D.WPF.MVVM
{
    public class BaseMvvm : BasePropertyChange
    {
        private DelegateCommand? _LoadedCommand;
        public DelegateCommand LoadedCommand => _LoadedCommand ?? (_LoadedCommand = new DelegateCommand(ExecuteLoadedCommand));

        /// <summary>
        ///初始化界面加载
        /// </summary>
        public virtual void ExecuteLoadedCommand(object? parameter = null)
        {

        }
       
    }
}
